/**
 * Created by kevin on 2017/01/08.
 *
 * page base
 */


var eosi = window.eosi || {};
this.eosi.website = this.eosi.website || {};

(function (window) {
    // the application


    function BaseLoading() {

        this.Container_constructor();
        this.init();
        //console.log(this.father.targetWidth);

    }

    var p = createjs.extend(BaseLoading, createjs.Container);
    p.className = "BaseLoading";


    // public methods:
    p.init = function () {
    }
    p.hideLoading = function(){
        this.visible = false;
        var loading = document.getElementById("loading_hold");
        if(loading){
            loading.style.visibility = "hidden";
        }


    }
    p.onProgress = function(evt){
        console.log(evt);
    }


    // add MyApp to myNameSpace
    window.eosi.website.BaseLoading = createjs.promote(BaseLoading, "Container");
//}());
}(window));





